/*
 * HandlerAspect.aj
 * 
 *  author: Daniel Rudigier
 *    date: 12.12.2008
 * 
 * 
 */
package at.momberban2.me.aspects;

/**
 * catch anything that fires. oliver kahn!
 * 
 * @author Daniel Rudigier
 *
 */
public aspect HandlerAspect {
    
    before(Throwable e): handler(Throwable+) && args(e)  {
        System.err.println("[[ exception intercepted ]]");
        e.printStackTrace();        
    }

}
